package com.wenwei.bean;

import java.util.List;

/**
 * Created by nidalee on 2017/9/25.
 */

public class ParkingHistoryBean {

    /**
     * timestamp : 1506307183425
     * code : 200
     * message : data success
     * path : http://localhost:8080/app/getParkLog
     * method : GET
     * total : 7
     * total_page : 1
     * now_page : 0
     * page_size : 0
     * per_total : 0
     * start_num : 1
     * per_page : 10
     * data : [{"parkAddr":"环球中心第一个地铁口拐进去那儿","orderTime":1.5,"totalPay":12,"parkName":"环球吊炸天停车场123","orderId":8,"createTime":1505976928000,"parkCarId":1,"isAllege":0},{"parkAddr":"环球中心第一个地铁口拐进去那儿","orderTime":4.5,"totalPay":45,"parkName":"环球吊炸天停车场123","orderId":6,"createTime":1504430871000,"parkCarId":2,"isAllege":0},{"parkAddr":"环球中心第一个地铁口拐进去那儿","orderTime":3,"totalPay":35,"parkName":"环球吊炸天停车场123","orderId":5,"createTime":1504423671000,"parkCarId":2,"isAllege":0},{"parkAddr":"环球中心第一个地铁口拐进去那儿","orderTime":2.5,"totalPay":17,"parkName":"环球吊炸天停车场123","orderId":4,"createTime":1504250871000,"parkCarId":1,"isAllege":0},{"parkAddr":"环球中心第一个地铁口拐进去那儿","orderTime":3,"totalPay":24,"parkName":"环球吊炸天停车场123","orderId":3,"createTime":1504250006000,"parkCarId":1,"isAllege":0},{"parkAddr":"环球中心第一个地铁口拐进去那儿","orderTime":3.5,"totalPay":35,"parkName":"环球吊炸天停车场123","orderId":2,"createTime":1503654331000,"parkCarId":2,"isAllege":1},{"parkAddr":"环球中心第一个地铁口拐进去那儿","orderTime":1.5,"totalPay":15,"parkName":"环球吊炸天停车场123","orderId":1,"createTime":1502874406000,"parkCarId":1,"isAllege":1}]
     */

    private long timestamp;
    private int code;
    private String message;
    private String path;
    private String method;
    private int total;
    private int total_page;
    private int now_page;
    private int page_size;
    private int per_total;
    private int start_num;
    private int per_page;
    private List<DataBean> data;

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public int getTotal_page() {
        return total_page;
    }

    public void setTotal_page(int total_page) {
        this.total_page = total_page;
    }

    public int getNow_page() {
        return now_page;
    }

    public void setNow_page(int now_page) {
        this.now_page = now_page;
    }

    public int getPage_size() {
        return page_size;
    }

    public void setPage_size(int page_size) {
        this.page_size = page_size;
    }

    public int getPer_total() {
        return per_total;
    }

    public void setPer_total(int per_total) {
        this.per_total = per_total;
    }

    public int getStart_num() {
        return start_num;
    }

    public void setStart_num(int start_num) {
        this.start_num = start_num;
    }

    public int getPer_page() {
        return per_page;
    }

    public void setPer_page(int per_page) {
        this.per_page = per_page;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * parkAddr : 环球中心第一个地铁口拐进去那儿
         * orderTime : 1.5
         * totalPay : 12
         * parkName : 环球吊炸天停车场123
         * orderId : 8
         * createTime : 1505976928000
         * parkCarId : 1
         * isAllege : 0
         */

        private String parkAddr;
        private double orderTime;
        private double totalPay;
        private String parkName;
        private int orderId;
        private long createTime;
        private int parkCarId;
        private int isAllege;

        public String getParkAddr() {
            return parkAddr;
        }

        public void setParkAddr(String parkAddr) {
            this.parkAddr = parkAddr;
        }

        public double getOrderTime() {
            return orderTime;
        }

        public void setOrderTime(double orderTime) {
            this.orderTime = orderTime;
        }

        public double getTotalPay() {
            return totalPay;
        }

        public void setTotalPay(double totalPay) {
            this.totalPay = totalPay;
        }

        public String getParkName() {
            return parkName;
        }

        public void setParkName(String parkName) {
            this.parkName = parkName;
        }

        public int getOrderId() {
            return orderId;
        }

        public void setOrderId(int orderId) {
            this.orderId = orderId;
        }

        public long getCreateTime() {
            return createTime;
        }

        public void setCreateTime(long createTime) {
            this.createTime = createTime;
        }

        public int getParkCarId() {
            return parkCarId;
        }

        public void setParkCarId(int parkCarId) {
            this.parkCarId = parkCarId;
        }

        public int getIsAllege() {
            return isAllege;
        }

        public void setIsAllege(int isAllege) {
            this.isAllege = isAllege;
        }
    }
}
